package com.niji.littly_donkey_android.util;

import android.content.Context;

import java.io.File;

public class AppUtils {
    public static File getApkFile(Context context) {
//        获取当前程序路径
        String absolutePath = context.getFilesDir().getAbsolutePath();
        //获取安装包路径
        String packageResourcePath = context.getApplicationContext().getPackageResourcePath();
        File file = new File(packageResourcePath);
        return file;
    }


}
